package com.hos.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 陈海彬
 * @date: Created in 2023/11/4 11:34
 * @description:
 * @modified By:
 * @version:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "统一返回结果集")
public class Result<T> {

    @ApiModelProperty(value = "状态码")
    private Integer code;

    @ApiModelProperty(value = "提示信息")
    private String message;

    @ApiModelProperty(value = "返回数据")
    private T data;


}